package com.atguigu.spzx.order;

import com.atguigu.spzx.cart.api.anno.EnableCartClient;
import com.atguigu.spzx.common.anno.EnableSpzxUserInterceptor;
import com.atguigu.spzx.product.api.anno.EnableProductClient;
import com.atguigu.spzx.user.api.anno.EnableUserClient;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author LT
 * @create 2023-11-21-19:42
 */
@SpringBootApplication
@EnableSpzxUserInterceptor
@EnableCartClient
@EnableProductClient
@EnableUserClient
@EnableTransactionManagement
@MapperScan(basePackages = "com.atguigu.spzx.order.mapper")
public class SpzxOrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpzxOrderApplication.class,args);
    }
}
